package com.edu.design.proxy.paymodel;

public class PaymentTest {
	
	public static void alipay(){
		PaymentInvocationHandle paymentHandle = new PaymentInvocationHandle(new Alipay());
		Payment payment = (Payment) paymentHandle.getProxy();
		payment.pay();
	}
	
	public static void main(String[] args) {
		alipay();
	}

}
